<template>
  <div style="margin-right:50px;">
    <el-form :model="submitForm" status-icon :rules="rules" ref="ruleForm" label-width="140px" class="demo-ruleForm"
             style="margin-top: 50px;" size="mini">
      <el-row>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>产品组合</label>
              <el-select
                v-model="submitForm.t8_sys_portfol_id"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.t8_sys_portfol_id"
                  :key="item.value"
                  :label="item.text"
                  :value="item.value"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>所属账套</label>
              <el-select
                v-model="submitForm.accountset_code"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.accountsetCodeItems"
                  :key="item.accountset_code"
                  :label="item.accountset_name"
                  :value="item.accountset_code"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资产类型</label>
              <el-select
                v-model="submitForm.is_superior_ftool"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.isSuperiorFtoolItems"
                  :key="item.value"
                  :label="item.text"
                  :value="item.value"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>核算方式</label>
              <el-select
                v-model="submitForm.ad_calculation"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.adCalculationlItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>行内资产编码</label>
              <el-input
                v-model="submitForm.ftool_code"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划名称</label>
              <el-input
                v-model="submitForm.ftool_name"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划简称</label>
              <el-input
                v-model="submitForm.asset_abbreviation"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划成立日期</label>
              <el-date-picker
                v-model="submitForm.begindate"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划付息频率</label>
              <el-select
                v-model="submitForm.pay_freq"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.payFreqItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划首次付息日</label>
              <el-date-picker
                v-model="submitForm.first_pay"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>收益率（%）</label>
              <el-input
                v-model="submitForm.yield"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划计息基数</label>
              <el-select
                v-model="submitForm.basedays"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.baseDaysItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划终止日期</label>
              <el-date-picker
                v-model="submitForm.enddate"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>合同编码</label>
              <el-input
                v-model="submitForm.trust_num"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资产一级分类</label>
              <el-select
                v-model="submitForm.cbc_type"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.cbcTypeItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资产类别</label>
              <el-select
                v-model="submitForm.in_asset_class"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.inAssetClassItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>人行一级分类</label>
              <el-select
                v-model="submitForm.pb_type"
                class="venus-input-middle"
                placeholder="--请选择人行一级分类--"
                @change="pbChange"
              >
                <el-option
                  v-for="(value,key) in dict.pbTypeItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>人行二级分类</label>
              <el-select
                v-model="submitForm.pb_subtype"
                class="venus-input-middle"
                placeholder="--请选择人行二级分类--"
                @change="pbSubChange"
              >
                <el-option
                  v-for="(item) in dict.pbSubtypeItems"
                  :key="item.itemkey"
                  :label="item.itemval"
                  :value="item.itemkey"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>人行三级分类</label>
              <el-select
                v-model="submitForm.pb_thrtype"
                class="venus-input-middle"
                placeholder="--请选择人行三级分类--"
              >
                <el-option
                  v-for="(item) in dict.pbThrtypeItems"
                  :key="item.itemkey"
                  :label="item.itemval"
                  :value="item.itemkey"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>币种</label>
              <el-select
                v-model="submitForm.trust_ccy"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.trustCcyItems"
                  :key="item.value"
                  :label="item.text"
                  :value="item.value"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>交易流通场所</label>
              <el-select
                v-model="submitForm.market_code"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.marketCodeItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划发起人机构编码</label>
              <el-input
                v-model="submitForm.org_par"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划登记编码</label>
              <el-input
                v-model="submitForm.regist_par"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>管理人</label>
              <el-input
                v-model="submitForm.issu_orgname"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>托管人</label>
              <el-input
                v-model="submitForm.trust_people"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>实际发行总规模</label>
              <el-input
                v-model="submitForm.actual_scale"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资金实际投向</label>
              <el-select
                v-model="submitForm.capital_actual_invest"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.capitalActualInvestItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资金运作方式</label>
              <el-input
                v-model="submitForm.cooper_mode"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资金运作行业</label>
              <el-select
                v-model="submitForm.cooper_trade"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.cooperTradeItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资管计划属性</label>
              <el-select
                v-model="submitForm.type_par3"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.typePar3Items"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>是否有预期收益率</label>
              <el-select
                v-model="submitForm.is_inter"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.isInterItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>预期最高收益率(%)</label>
              <el-input
                v-model="submitForm.expe_rate_max"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>预期最低收益率(%)</label>
              <el-input
                v-model="submitForm.expe_rate_min"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>购买结构</label>
              <el-select
                v-model="submitForm.type_par4"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.typePar4Items"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>管理方式</label>
              <el-select
                v-model="submitForm.type_par2"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.typePar2Items"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>是否掌控资管计划底层资产详情</label>
              <el-select
                v-model="submitForm.is_control"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.isControlItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>交易相关合计费率(%)</label>
              <el-input
                v-model="submitForm.rate_desc_trans"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>中介服务机构合计费率(%)</label>
              <el-input
                v-model="submitForm.rate_desc_service"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>其他合计费率(%)</label>
              <el-input
                v-model="submitForm.rate_desc_other"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>备注</label>
              <el-input
                v-model="submitForm.remark"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>清算路径</label>
              <el-select
                v-model="submitForm.clearing_path"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.clearingPathItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>担保人</label>
              <el-input
                v-model="submitForm.guarantor"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>担保方式</label>
              <el-select
                v-model="submitForm.vouch"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.vouchItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>增信方式</label>
              <el-input
                v-model="submitForm.increasing_credit_way"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资金用途</label>
              <el-input
                v-model="submitForm.use_of_funds"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>详细还款来源</label>
              <el-input
                v-model="submitForm.source_of_repayment"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>自营型or公益型</label>
              <el-select
                v-model="submitForm.private_or_public"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.privateOrPublicItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>行内资产分类</label>
              <el-select
                v-model="submitForm.assets_classify"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(value,key) in dict.assetsClassifyItems"
                  :key="key"
                  :label="value"
                  :value="key"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>审批额度</label>
              <el-input
                v-model="submitForm.approval_limit"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>理审会决议号</label>
              <el-input
                v-model="submitForm.resolution_number"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>理审会决议附加条件</label>
              <el-input
                v-model="submitForm.resolution_condition"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>投资经理</label>
              <el-input
                v-model="submitForm.investment_manager"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>经办行</label>
              <el-input
                v-model="submitForm.processing_banks"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>经办负责人</label>
              <el-input
                v-model="submitForm.transactor"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>经办联系方式</label>
              <el-input
                v-model="submitForm.tel_of_transactor"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>投后管理人</label>
              <el-input
                v-model="submitForm.investment_after_manager"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>最近一次现场检查时间</label>
              <el-date-picker
                v-model="submitForm.inspection_time_on_site"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>最近一次现场检查人</label>
              <el-input
                v-model="submitForm.inspection_people_on_site"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>最近一次非现场检查时间</label>
              <el-date-picker
                v-model="submitForm.inspection_time_off_site"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>最近一次非现场检查人</label>
              <el-input
                v-model="submitForm.inspection_people_off_site"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>档案号</label>
              <el-input
                v-model="submitForm.file_number"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>减记触发条件</label>
              <el-input
                v-model="submitForm.reduced_conditions"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>资产介绍人</label>
              <el-input
                v-model="submitForm.assets_introduction"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>特殊事项信息披露</label>
              <el-input
                v-model="submitForm.special_info_pl"
                class="venus-input-middle"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>开始日期</label>
              <el-date-picker
                v-model="submitForm.fee_start_date"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>结束日期</label>
              <el-date-picker
                v-model="submitForm.fee_end_date"
                type="date"
                class="venus-input-middle venus-input-date"
                placeholder="请输入"
              />
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>浮动费用</label>
              <el-select
                v-model="submitForm.float_fee"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.floatFeeItems"
                  :key="item.itemkey"
                  :label="item.itemval"
                  :value="item.itemkey"
                />
              </el-select>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="venus-input-box">
              <label>费用方案</label>
              <el-select
                v-model="submitForm.t8_fee_plan_ids"
                class="venus-input-middle"
                placeholder="--请选择--"
              >
                <el-option
                  v-for="(item) in dict.t8FeePlanIdsItems"
                  :key="item.itemkey"
                  :label="item.itemval"
                  :value="item.itemkey"
                />
              </el-select>
            </div>
          </el-col>
<!--          <el-col :span="8">-->
<!--            <div class="venus-input-box">-->
<!--              <label>费用品种</label>-->
<!--              <el-checkbox-group v-model="invest_fee_type">-->
<!--                <el-checkbox label="其他" />-->
<!--                <el-checkbox label="管理费" />-->
<!--                <el-checkbox label="托管费" />-->
<!--                <el-checkbox label="销售服务费" />-->
<!--                <el-checkbox label="投资顾问费" />-->
<!--              </el-checkbox-group>-->
<!--            </div>-->
<!--          </el-col>-->
      </el-row>
      <div style="text-align:center">
        <el-button type="success" @click="">保存</el-button>
        <el-button type="info" @click="">取消</el-button>
      </div>
    </el-form>
  </div>
</template>

<script>
  import request from "../../../../../../utils/request";
  import * as kk from "../../../../../../utils/k-utils";

  export default {
    name: 'M8asset0204exAdd',
    data() { // 数据定义
      return {
        dict: {
          invest_fee_type: {},// 费用品种
          t8_sys_portfol_id: {}, // 产品组合
          accountsetCodeItems: {}, // 所属账套
          isSuperiorFtoolItems: {},// 资产类型
          adCalculationlItems: {},// 核算方式
          payFreqItems: {}, // 资管计划付息频率
          baseDaysItems: {}, // 资管计划计息基数
          cbcTypeItems: {},// 资产一级分类
          inAssetClassItems: {},// 资产类别
          pbTypeItems: {},// 人行一级分类
          pbSubtypeItems: {},// 人行二级分类
          pbThrtypeItems: {},// 人行三级分类
          trustCcyItems: {},// 币种
          marketCodeItems: {},// 交易场所
          capitalActualInvestItems: {},// 币种
          cooperTradeItems: {},// 资金运作行业
          typePar3Items: {},// 资管计划属性
          isInterItems: {},// 是否有预期收益率
          typePar4Items: {},// 购买结构
          typePar2Items: {},// 管理方式
          isControlItems: {},// 是否掌控资管计划底层资产详情
          clearingPathItems: {},// 清算路径
          vouchItems: {},// 担保方式
          privateOrPublicItems: {},// 自营型or公益型
          assetsClassifyItems: {},// 行内资产分类
          floatFeeItems: {},// 浮动费用
          t8FeePlanIdsItems: {},// 费用方案
        },
        /* 查询部分 */
        submitForm: {
          t8_sys_portfol_id: '', // 产品组合
          accountset_code: '', // 所属账套
          is_superior_ftool: '', // 资产类型
          ad_calculation: '', // 资产类型
          ftool_code: '', // 行内资产编码
          ftool_name: '', // 资管计划名称
          asset_abbreviation: '', // 资管计划简称
          begindate: '', // 资管计划成立日期
          pay_freq: '', // 资管计划付息频率
          first_pay: '', // 资管计划首次付息日
          yield: '', // 收益率（%）
          basedays: '', // 资管计划计息基数
          enddate: '', // 资管计划终止日期
          trust_num: '', // 合同编码
          cbc_type: '', // 资产一级分类
          in_asset_class: '', // 资产类别
          pb_type: '', // 人行一级分类
          pb_subtype: '', // 人行二级分类
          pb_thrtype: '',// 人行三级分类
          trust_ccy: '',// 币种
          org_par: '',// 资管计划登记编码
          regist_par: '',// 资管计划登记编码
          issu_orgname: '',// 管理人
          trust_people: '',// 托管人
          actual_scale: '',// 实际发行总规模
          capital_actual_invest: '',// 资金实际投向
          cooper_mode: '',// 资金运作方式
          cooper_trade: '',// 资金运作行业
          type_par3: '',// 资管计划属性
          is_inter: '',// 是否有预期收益率
          expe_rate_max: '',// 预期最高收益率(%)
          expe_rate_min: '',// 预期最低收益率(%)
          type_par4: '',// 购买结构
          type_par2: '',// 管理方式
          is_control: '',// 是否掌控资管计划底层资产详情
          rate_desc_trans: '',// 交易相关合计费率(%)
          rate_desc_service: '',// 中介服务机构合计费率(%)
          rate_desc_other: '',// 其他合计费率(%)
          remark: '',// 备注
          clearing_path: '',// 清算路径
          guarantor: '',// 担保人
          vouch: '',// 担保方式
          increasing_credit_way: '',// 增信方式
          use_of_funds: '',// 资金用途
          source_of_repayment: '',// 详细还款来源
          private_or_public: '',// 自营型or公益型
          assets_classify: '',// 行内资产分类
          approval_limit: '',// 审批额度
          resolution_number: '',// 理审会决议号
          resolution_condition: '',// 理审会决议附加条件
          investment_manager: '',// 投资经理
          processing_banks: '',// 经办行
          transactor: '',// 经办负责人
          tel_of_transactor: '',// 经办联系方式
          investment_after_manager: '',// 投后管理人
          inspection_time_on_site: '',// 最近一次现场检查时间
          inspection_people_on_site: '',// 最近一次现场检查时间
          inspection_time_off_site: '',// 最近一次非现场检查时间
          inspection_people_off_site: '',// 最近一次非现场检查人
          file_number: '',// 档案号
          reduced_conditions: '',// 减记触发条件
          assets_introduction: '',// 资产介绍人
          special_info_pl: '',// 特殊事项信息披露
          fee_start_date: '',// 开始日期
          fee_end_date: '',// 结束日期
          float_fee: '',// 浮动费用
          t8_fee_plan_ids: '',// 费用方案
        }
      }
    },
    mounted() {
      // 初始化调用
      this.init()
    },
    methods: {
      // 页面初始化
      init: function () {
        this.load_dict_exeid(this, 'public', 'selectPortfol', 't8_sys_portfol_id')
        this.load_dict_exeid(this, 'val', 'M8GetAccountSetOfParam', 'accountsetCodeItems')
        this.dict.isSuperiorFtoolItems = [{value:0,text:'普通资产'},{value:1,text:'母子资产'}]
        kk.k_load_dict(this, 'adCalculationlItems', 't8_calculation_method')
        kk.k_load_dict(this, 'payFreqItems', 't8_pay_freq_guizhou')
        kk.k_load_dict(this, 'baseDaysItems', 't8_intr_base_guizhou')
        kk.k_load_dict(this, 'cbcTypeItems', 't8_zzyjfl_type')
        this.dict.inAssetClassItems = {'1701':'信托产品','1702':'保险资产管理计划','1703':'券商资产管理计划','1704':'基金资产管理计划','1705':'其他资产管理计划'}
        kk.k_load_dict(this, 'pbTypeItems', 't8_bc_type1')
        this.load_dict_exeid(this, 'custom', 'M8110EQ0014', 'trustCcyItems')
        kk.k_load_dict(this, 'marketCodeItems', 't8_trade_places')
        kk.k_load_dict(this, 'capitalActualInvestItems', 't8_actual_invest')
        kk.k_load_dict(this, 'cooperTradeItems', 't8_zhz_trade_type')
        kk.k_load_dict(this, 'typePar3Items', 't8_proper_type')
        kk.k_load_dict(this, 'isInterItems', 't8_1yes0no')
        kk.k_load_dict(this, 'typePar4Items', 't8_struct_type')
        kk.k_load_dict(this, 'typePar2Items', 't8_manage_type')
        kk.k_load_dict(this, 'isControlItems', 't8_1yes0no')
        kk.k_load_dict(this, 'clearingPathItems', 't8_clearing_path')
        kk.k_load_dict(this, 'vouchItems', 't8_vouch_type')
        kk.k_load_dict(this, 'privateOrPublicItems', 't8_private_public')
        kk.k_load_dict(this, 'assetsClassifyItems', 't8_in_asset_class')
        this.load_dict_exeid(this, 'fee', 'M8loadfees&fee_adtype=1', 'floatFeeItems')
        this.load_dict_exeid(this, 'fee', 'M8loadFeePlans&fee_adtype=1', 't8FeePlanIdsItems')




      },
      pbChange: function (event) { // 根据一级分类，调整二级分类字典
        request({
          loading: true,
          url: 'custom/base/comn-query.json?exeid=M82001EQ003&pb_type='+ this.submitForm.pb_type,
          method: 'post'
        }).then(rep => {
          this['dict']['pbSubtypeItems'] = rep.rows
        })
      },
      pbSubChange: function (event) { // 根据二级分类，调整三级分类字典
        request({
          loading: true,
          url: 'custom/base/comn-query.json?exeid=M82001EQ004&pb_subtype='+ this.submitForm.pb_subtype,
          method: 'post'
        }).then(rep => {
          this['dict']['pbThrtypeItems'] = rep.rows
        })
      },
    /* 通过exeid加载字典 */
    load_dict_exeid(this_object, service_name, exeid, dict) {
      request({
        loading: true,
        url: service_name + '/base/comn-query.json?exeid=' + exeid,
        method: 'post'
      }).then(rep => {
        console.log(rep)
        this_object['dict'][dict] = rep.rows
      })
    },
    }
  }
</script>

<style scoped>
</style>
